<script setup>
import Accordion from '../components/Accordion/Accordion.vue'
</script>

<template>
  <div class="accordion-demo">
    <Accordion name="1" title="第一级面板">
      <Accordion name="1-1" title="第二级面板">
        <Accordion name="1-1-1" title="第三级面板">
          <div>最内层内容</div>
        </Accordion>
        <div>第二层内容</div>
      </Accordion>
      <div>第一层内容</div>
    </Accordion>

    <Accordion name="2" title="禁用面板" disabled>
      <div>禁用状态</div>
    </Accordion>
  </div>
</template>